package com.aaa.service;

import com.aaa.pojo.BankNumber;
import com.aaa.pojo.ChangeMoney;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChangeMoneyService {
    //分页
    PageInfo<ChangeMoney> getChangeByPage(int pageNum, int pageSize);
    //根据id查询零钱信息
    ChangeMoney selectById(Integer c_id);
    List<String> getChangeColumn();
    public Boolean addChangeMoney(Integer u_id,Integer c_id,Double amount);
    public void addRecordMoney(Double amount, String c_name);
    public List<BankNumber> selectByBid(Integer uid);
    //扣除银行卡余额
    public Boolean deductionBank(Integer bank_id,Double money);
}
